package cn.layfolk.daimao.web.feign.hystrix;

import cn.layfolk.daimao.vo.TGoods;
import cn.layfolk.daimao.vo.respvo.ResponseVo;
import cn.layfolk.daimao.web.feign.GoodsFeignApi;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Set;

@Component
public class GoodsFeignHystrix implements GoodsFeignApi {
    @Override
    public ResponseVo<List<TGoods>> queryByIdList(Set<Long> ids) {
        // 服务器降级直接返回null
        return null;
    }
}
